package com.system.userserver.service;

import com.system.commonutils.bean.PagesBean;
import com.system.commonutils.pojo.UserBean;
import com.system.userserver.bean.Admin;
import com.system.userserver.bean.UserDetail;
import com.system.userserver.bean.UserItem;

public interface UserService {
    UserBean selectUserByUsername(String s);

    Boolean addAdminUser(String username, String password, Integer roleId);

    Boolean addUser(String username, String password);

    PagesBean<Admin> adminList(Integer page, Integer size);

    PagesBean<UserItem> userList(Integer page, Integer size, Integer userId, String userNickName, String phone);

    UserDetail selectUserInfo(Integer userId);

    Boolean updateUserStatue(Integer userId, Integer statue);
}
